var pagNum = 0;
var cartPage = 0;
var preCateId ='';
var userId = localStorage.getItem("userid");
var userName = localStorage.getItem("username");
var cartArr=[];
var productName = "";
var serachCateId = "";
jQuery(function(){
	jQuery.noConflict();
	if(userId ==null || userId == ""){
		window.location.href=server_url+"login.do";
	}
/*首页底部标签栏切换-开始*/
	var oNav = document.getElementById("botNav");
	var oLi = oNav.getElementsByTagName("li");
	var oP = oNav.getElementsByTagName("P");
	var oSpan = oNav.getElementsByTagName("span");
	var oSection = document.getElementsByTagName("section");
	for(var i = 0; i < oLi.length; i++){
		oLi[i].index = i;
		oLi[i].onclick = function(){
			for( var i = 0; i < oLi.length; i++ ){
				if(i==3){
					var orderStatus = localStorage.getItem("orderStatus");
					var shipStatus = localStorage.getItem("shipStatus");
					if(null==orderStatus&&null==shipStatus){
						initData("","");
					}
				}
				if(i ==2){
					cartPage=0;
					getCarList();
				}
				oP[i].style.color = "#9f9f9f";
				oSpan[i].style.color= "#9f9f9f";
				oSection[i].style.display = "none";
			};
			oP[this.index].style.color = "#89bafe";
			oSpan[this.index].style.color= "#89bafe";
			oSection[this.index].style.display = "block";
		};
	}
/*首页底部标签栏切换-结束*/

	$("#problem_text").tap(function(){
		$("#problem").css({"display":"block"})
	});
	$("#close_text").tap(function(){
		$("#problem").css({"display":"none"})
	});
/*	$("#hold").tap(function(){
		$("#problem").css({"display":"none"})
	});*/
	
	$("#newQust").tap(function(){
		$("#problem").css({"display":"block"})
	});
	/*$("#close_text").tap(function(){
		$("#problem").css({"display":"none"})
	});
	$("#hold").tap(function(){
		$("#problem").css({"display":"none"})
	});*/

	loadCateRemote('0');
	$("#guan").tap(function(){
		guan();
	});


/*开始采购大分类点击效果-开始*/
	$("#navList li").live('click',function(){
		$('#proList').html('');
		pagNum = 0;
		loadCateRemote($(this).attr('cateId'));
		$("#navList li").removeClass("select");
		$(this).addClass("select");
		
	});
/*开始采购大分类点击效果-结束*/

/*开始采购小分类点击效果-开始*/
	$("#leftList li").live('click',function(){
		//console.log($(this).attr('class'));
		if(null == $(this).attr('class')||$(this).attr('class')==''){
			pagNum = 0;
			$('#proList').html('');
				//console.log('小分类调用了loadProductRemote');
				$("#leftList li").removeClass("select2");
				$(this).addClass("select2");
				serachCateId = $('.select2').attr('cateId');
				if(productName == ""){
					loadProductRemote($(this).attr('cateId'));
				}else{
					search();
				}
		}
	});
/*开始采购小分类点击效果-结束*/
	$(".addImg").live('click',function(){ //添加数量
		clickAdd(this);
	});
	$(".reduceImg").live('click',function(){ //减少数量
		reduce(this); 
		sumAll();
	});
	$(".choIcon").live('click',function(){ //选择商品
		//console.log($(".choIcon").length);
		//console.log($($(".choIcon")[0]).attr('src'));
		//console.log($($(".choIcon")[1]).attr('src'));
		//console.log($($(".choIcon")[2]).attr('src'));
		if($(this).attr('src') == '../../buyer/img/choIcon.png'){
			$(this).attr('src','../../buyer/img/choIcon1.png');
			$('#allC').attr('src','../../buyer/img/choIcon1.png');
			sumAll();
		}else{
			var b =true;
			$(this).attr('src','../../buyer/img/choIcon.png');
			$(".choIcon").each(function(){
				//console.log($(this).attr('src'));
				if($(this).attr('src') == '../../buyer/img/choIcon1.png'){
					b =false;
					return false;
				}
			});
			if(b){
				$('#allC').attr('src','../../buyer/img/choIcon.png')
			}
			sumAll();
		}
	});
	$('.allCho').live('click',function(){ //全选商品
		if($('#allC').attr('src') =='../../buyer/img/choIcon.png'){
			$('#allC').attr('src','../../buyer/img/choIcon1.png')
			$(".choIcon").attr('src','../../buyer/img/choIcon1.png');
			sumAll();
		}else{
			$('#allC').attr('src','../../buyer/img/choIcon.png')
			$(".choIcon").attr('src','../../buyer/img/choIcon.png');
			sumAll();	
		}
	});
	$('.dele').live('click',function(){ //删除商品
		delItems();
		sumAll();
		$('#allC').attr('src','../../buyer/img/choIcon1.png');
	});
	changeDelIcon();
	$('#totle').tap(function(){
		toOrder();
	})
	/*$("#proList").swipeUp(function (){
		//alert(11);return;
		var abcImg = $("#proList").find("li")[$("#proList").find("li").length-1];
		//console.log($("#proList").find("li").length);
          var top = abcImg.getBoundingClientRect().top //元素顶端到可见区域顶端的距离
          var se = document.documentElement.clientHeight //浏览器可见区域高度。
         
          if(top < se ) {
        	  pagNum ++;
        	  loadProductRemote($('.select2').attr('cateId'));
          }
	
     });*/
	$(".Swrap").scroll(function () {
    	    if ($(".Swrap").scrollTop() + $(window).height()+1 >=$("#proList").height()) {
		//console.log('滑动轮调用了loadProductRemote');
			serachCateId = $('.select2').attr('cateId');
			if(productName == ""){
				loadProductRemote($('.select2').attr('cateId'));
			}else{
				search();
			}
          	   
    	 }
    });
   $("#cartProP").scroll(function () {
  	    if ($("#cartProP").scrollTop() + $(window).height()+1 >=$("#carPro").height()) {
  	    	getCarList();
  	    }
  });
	var b = localStorage.getItem("goShopCar");
	if(b != null){
		localStorage.removeItem("goShopCar");
		b = null;
		shopClick();
		//$('.icon-dingdan').parent().click();
	}
	var bl = localStorage.getItem('goOrder');
	if(null != bl){
		localStorage.removeItem("goOrder");
		bl = null;
		$('.icon-dingdan').parent().click();
	}
	var pl = localStorage.getItem("goPerson");
	if(null != pl){
		localStorage.removeItem("goPerson");
		pl = null;
		$('.icon-peo').parent().click();
	}
	var ps = localStorage.getItem("personSet");
	if(null != ps){
		localStorage.removeItem("personSet");
		ps = null;
		$('.icon-peo').parent().click();
	}
});
var shopClick = function(){
	$('.icon-shopCar').parent().click();
}
var listenCho = function(){
	var bb = true;
	$(".choIcon").each(function(){
		//console.log($(this).attr('src'));
		if($(this).attr('src') == '../../buyer/img/choIcon1.png'){
			bb =false;
			return false;
		}
	});
	if(bb){
		$('#allC').attr('src','../../buyer/img/choIcon.png')
	}
	sumAll();
}
var clickAdd = function(node){
	var cartId = $(node).parent().parent().parent().attr("cartid");
	var cartList = $.parseJSON(localStorage.getItem("cartList"));
	var skuId = '';
	if(null != cartList){
		for(var i = 0;i<cartList.length;i++){
			if(cartList.length == 1){
				$('#allC').attr('src','/LianniuWeb/buyer/img/choIcon.png');
			}
			if(cartList[i].id == cartId){
				skuId = cartList[i].skuProduct.id;break;
			}
		}
	}
	checkOverNum(node,skuId,add);
}
/**
 * 校验库存
 */
var checkOverNum = function(node,skuId,fn){
	var num = parseFloat($(node).prev().text());
	$.ajax({
		url:server_url+'rest/product/getOverPlusNumBySkuId.do?id='+skuId,
		data:{ran:Math.random()},
		type:'get',
		error:function(){alert(contants.systemError);return;},
		success:function(msg){
			var skuNum = parseFloat(msg.data);
			if(num < skuNum){
				fn(node);
			}else{
				alert(contants.skuNumExc);return;
			}
		}
	});
}
function add(node){
	var num = parseFloat($(node).prev().text());
	num ++;
	$(node).prev().text(num);
	var price = parseFloat($($(node).parent().prev().find("strong")[0]).text());
	var sum = num*price;
	$($(node).parent().next().find("span")[0]).text(sum);
	$($(node).parent().parent().siblings("img")).attr("src","../../buyer/img/choIcon.png");
	sumAll();
	listenCho();
}
var loadCateRemote = function(cateId){
	$.ajax({
		url:server_url+"buyer/product/rest/buyerCateLoad.do?cateId="+cateId,
		data:{ran:Math.random()},
		type:'get',
		ansyc:false,
		error:function(){alert(contants.systemError)},
		success:function(msg){
			var data = msg.data;
			if(cateId == '0'){
				dealCateTopData(data);
			}else{
				dealCateLeftData(data);
			}
		}
	});
}
var b = false;
var loadProductRemote = function(cateId){
	//console.log('进入loadProductRemote ,cateId=['+cateId+'],此时的页数pagNum=['+pagNum+']');
	if(preCateId !=cateId){
		preCateId = cateId;
		pagNum = 0;
	}
	//console.log(pagNum);
	//console.log(localStorage.getItem("user"));
	if(b){
		return;
	}
	b = true;
	$.ajax({
		url:server_url+"buyer/product/rest/getProductList.do?cateId="+cateId+"&userId="+localStorage.getItem("userid")+"&currPage="+pagNum,
		type:'get',
		ansyc:false,
		data:{ran:Math.random()},
		error:function(){alert(contants.systemError)},
		success:function(msg){
			var data = msg.data;
			//console.log(data);
			b = false;
			dealProductData(data);
			/*if(data[0] != null){
				dealProductData(data);
			}else{
				if(cateId == ''){
					dealProductData(data);
				}else{
					var s = "<li style='width:5.6rem; text-align:center; float:right; border-bottom:none;'>"+
					"<p style='font-size:0.3rem; padding:50% 5% 50% 5%;'>该分类暂时没有合适商品，采购需求请拨打 &nbsp;" +
					"<a href='tel:010-57019707' style='color:blue;text-decoration: underline;'>010-57019707</a>" +
					"</p>"	+			       
					"</li>";
			$("#proList").html(s);
				}
				
			}*/
			
		}
	});
}
var dealCateTopData = function(data){
	var topCate ='<li cateId="1" class="select">全部</li>';
	for(var i=0;i<data.length;i++){
		if(i ==0){
			topCate += '<li cateId="'+data[i].cateId+'" >'+data[i].cateName+'</li>';
		}else{
			topCate += '<li cateId="'+data[i].cateId+'" >'+data[i].cateName+'</li>';
		}
	}
	$('#navList').html(topCate);
	loadCateRemote($('.select').attr('cateId'));
}
var dealCateLeftData = function(data){
	if($('.select').attr('cateId')!=1){
		var leftCate ='';
		if(data != null && data.length>0){
			for(var i=0;i<data.length;i++){
				if(i ==0){
					leftCate += '<li cateId="'+data[i].cateId+'" class="select2">'+data[i].cateName+'</li>';
				}else{
					leftCate += '<li cateId="'+data[i].cateId+'">'+data[i].cateName+'</li>';
				}
			}
		}
		$('#leftList').html(leftCate);
		pagNum = 0;
		serachCateId = $('.select2').attr('cateId');
		//console.log('dealCateLeftData调用了loadProductRemote');
		if(productName == ""){
			loadProductRemote($('.select2').attr('cateId'));
		}else{
			search();
		}
			
	}else{
		var leftCate ='<li class="select2" cateId="" style="display:block">全部</li>';
		if(data != null && data.length>0){
			for(var i=0;i<data.length;i++){
				if(i ==0){
					leftCate += '<li cateId="'+data[i].cateId+'">'+data[i].cateName+'</li>';
				}else{
					leftCate += '<li cateId="'+data[i].cateId+'">'+data[i].cateName+'</li>';
				}
			}
		}
		$('#leftList').html(leftCate);
		pagNum = 0;
//console.log('dealCateLeftData调用了loadProductRemote');
		serachCateId = $('.select2').attr('cateId');
		if(productName == ""){
			loadProductRemote($('.select2').attr('cateId'));
		}else{
			search();
		}
	}
	
}
var dealProductData = function(data){
	//console.log(data);
	//console.log(pagNum);
	var s= '';
	if(data != null && data.length>0){
		for(var i=0;i<data.length;i++){
			if(data[i].isPayOnline==0){
				s += '<li class="clear" onclick="setSku('+data[i].id+');">'+
				'<div class="leftPro"><img src="'+data[i].picturePath1+'" class="proImg"/></div>'+
							'<div class="rightPro">'+
								'<h3 class="proId">'+data[i].productName+' '+data[i].specName+'</h3>'+
								'<span class="location">货源地：'+data[i].areaName+'</span>'+
								'<span class="eveyPrice">'+data[i].price+'元 / 头</span>'+
								'<span class="eveyPrice">库存:'+data[i].overPlusNum+'头';
							if(data[i].supplyId=='0'){
								s+='<span>自营</span>';
							}
							s+='<strong class="online">线</strong></span>'+
							'</div></li>';
			}else{
				s += '<li class="clear" onclick="setSku('+data[i].id+');">'+
					'<div class="leftPro"><img src="'+data[i].picturePath1+'" class="proImg"/></div>'+
								'<div class="rightPro">'+
									'<h3 class="proId">'+data[i].productName+' '+data[i].specName+'</h3>'+
									'<span class="location">货源地：'+data[i].areaName+'</span>'+
									'<span class="eveyPrice">'+data[i].price+'元 / 头</span>'+
									'<span class="eveyPrice">库存:'+data[i].overPlusNum+'头';
				if(data[i].supplyId=='0'){
					s+='<span>自营</span>';
				}
								s+='</div></li>';
			}
		}
		$("#proList").append(s);
		pagNum ++;
	}else{
		if(pagNum <1){
			s = "<li style='width:5.6rem; text-align:center; float:right; border-bottom:none;'>"+
			"<p style='font-size:0.3rem; padding:50% 5% 50% 5%;'>该分类暂时没有合适商品，请在我的-问题反馈中提交需求 &nbsp;" +
			"</p>"	+
			"</li>";
	$("#proList").html(s);
		}
		
	}
	
}

var setSku = function(skuId){
	localStorage.setItem('skuId', skuId);
	window.location.href=server_url+"buyer/product/productDetail.do";
	//console.log(localStorage.getItem('skuId'));
	//return;//productDetail.do
}
function reduce(node){
	listenCho();
	var num = parseFloat($(node).next().text());
	if(num>1){
		num --;
		$(node).next().text(num);
		var price = parseFloat($($(node).parent().prev().find("strong")[0]).text());
		var sum = num*price;
		$($(node).parent().next().find("span")[0]).text(sum);
	}
	
}
function sumAll(){  //计算总价
	var sum = 0;
	var num = 0;
	$($("#carPro").find("li img[src='../../buyer/img/choIcon.png']")).each(function(){
		sum += parseFloat($($(this).next().next().find("div[class='tol'] span")[0]).text());
		num += parseFloat($(this).next().next().find('p span').text());
	});
	$("#toP").text(sum);
	$('#totle span').text(num);
	changeDelIcon();
}
var changeDelIcon = function(){  //删除按钮可点
	var num =0;
	$($("#carPro").find("li img[src='../../buyer/img/choIcon.png']")).each(function(){
		num++;
	});
	if(num >0){
		$('.dele').attr('src','../../buyer/img/dele.png');
	}else{
		$('.dele').attr('src','../../buyer/img/no-dele.png');
	}
}
var delItems = function(){ //删除选中的商品
	var delDatas=[];
	var nodes = [];
	$($("#carPro").find("li img[src='../../buyer/img/choIcon.png']")).each(function(){
		delDatas.push($(this).parent().attr('cartId'));
		nodes.push($(this).parent());
	});
	delCartRemote(delDatas,nodes);
	
}
//购物车为空时,提示信息
var cartMesg = function(){
	var cartLis = $('#carPro').find('li');
	if(cartLis.length==0 && $('#cartMsg').length ==0){
		$('#carPro').after("<div id='cartMsg'>"+
				"<p style='font-size:0.35rem; padding:10% 5% 50% 5%; text-align:center;'>您购物车还没有添加商品，快去采购吧！</p>"+
				"</div>");
	}
}
//获取购物车商品列表
var getCarList = function(){
	$.ajax({
		url : server_url + "buyer/product/rest/getCartList.do?userId="+localStorage.getItem("userid")+"&cartPage="+cartPage,
		type : 'get',
		data:{ran:Math.random()},
		ansyc:false,
		error : function() {
			alert(contants.systemError);
		},
		success : function(msg) {
			//$('#carPro').html('');
			//console.log('购物车商品列表:')
			//console.log(msg);
			var dataArray = msg.data;
			if(null!=dataArray&&dataArray.length>0){
				for(var k=0;k<dataArray.length;k++){
					cartArr.push(dataArray[k]);
				}
			}
			localStorage.setItem("cartList", JSON.stringify(cartArr));
			var s = '';
			if(null != dataArray){
				for (var i = 0; i < dataArray.length; i++) {
					s += '<li class=" clear" cartId="'+dataArray[i].id+'">'+
					'<img src="../../buyer/img/choIcon1.png" class="choIcon"/>'+
						'<div class="carImg"><img src="'+dataArray[i].skuProduct.picturePath1+'" onclick="clickSkuPic(this)"/></div>'+
						'<div class="rightMes">'+
							'<h3>'+dataArray[i].skuProduct.productName+' '+dataArray[i].skuProduct.specName+'</h3>'+
							'<span class="proPrice"><strong>'+dataArray[i].skuProduct.price+'</strong> &nbsp;RMB&nbsp;/&nbsp;头</span>'+
							'<p class="num">'+
							'	<img class="reduceImg" src="../../buyer/img/reduce.gif"/>'+
							'	<span>'+parseInt(dataArray[i].productNum)+'</span>'+
							'	<img class="addImg" src="../../buyer/img/add1.gif"/>'+
							'</p>'+
							'<div class="tol">小计 :￥<span>'+parseFloat(dataArray[i].productNum)*parseFloat(dataArray[i].skuProduct.price) +'</span></div></div></li>';
					
				}
				if(cartPage == 0){
					$('#carPro').html(s);
				}else{
					$('#carPro').append(s);
				}
				cartPage ++;
			}
			
			cartMesg();
		}
	});
}
//搜索
function search(){
	//?userId="+userId+"&currPage="+pagNum+"&name="+$("#productName").val()contentType:'application/x-www-form-urlencoded; charset=utf-8',
	/*var jsonObj = [];
	jsonObj.push({name:"name",value:$("#productName").val()});
	jsonObj.push({name:"userId",value:userId});$('.select2').attr('cateId')
	jsonObj.push({name:"currPage",value:pagNum});*/
	/*var cateId = $('.select2').attr('cateId');*/
	productName = $("#productName").val();
	//console.log(serachCateId);
	serachProductName(serachCateId,productName);
};
function serachProductName(cateId,productName){
	pagNum = 0;
	$("#proList").html("");
	var jsonObj = [];
	jsonObj.push({name:"userId",value:userId});
	jsonObj.push({name:"currPage",value:pagNum});
	jsonObj.push({name:"name",value:productName});
	jsonObj.push({name:"cateId",value:cateId})
	$.ajax({
		url:server_url+"buyer/product/rest/selectByProductName.do?rand="+Math.random(),
		type:'post',
		dataType:'json',
		data:jsonObj,
		async : false,
		error:function(){alert("出错了！")},
		success:function(data){
			var data = data.data;
			//console.log(data);
			if(data != null && data.length>0){
				var s= '';
				for(var i=0;i<data.length;i++){
					if(data[i].isPayOnline==0){
						s += '<li class="clear" onclick="setSku('+data[i].id+');">'+
						'<div class="leftPro"><img src="'+data[i].picturePath1+'" class="proImg"/></div>'+
									'<div class="rightPro">'+
										'<h3 class="proId">'+data[i].productName+' '+data[i].specName+'</h3>'+
										'<span class="method">'+data[i].valuesName+'，'+data[i].svName+'/头</span>'+
										'<span class="location">货源地：'+data[i].areaName+'</span>'+
										'<span class="eveyPrice">'+data[i].price+'元 / 头</span>'+
										'<span class="eveyPrice">库存:'+data[i].overPlusNum+'头';
										if(data[i].supplyId==0){
											s+= '<span>自营</span>';
										}
										s+='<strong class="online">线</strong></span>'+
					'</div></li>';
					}else{
						s += '<li class="clear" onclick="setSku('+data[i].id+');">'+
							'<div class="leftPro"><img src="'+data[i].picturePath1+'" class="proImg"/></div>'+
										'<div class="rightPro">'+
											'<h3 class="proId">'+data[i].productName+' '+data[i].specName+'</h3>'+
											'<span class="method">'+data[i].valuesName+'，'+data[i].svName+'/头</span>'+
											'<span class="location">货源地：'+data[i].areaName+'</span>'+
											'<span class="eveyPrice">'+data[i].price+'元 / 头</span>'+
											'<span class="eveyPrice">库存:'+data[i].overPlusNum+'头';
											if(data[i].supplyId=='0'){
													s+='<span>自营</span></span>';
												}
										s+='</div></li>';
					}
				}
				$("#proList").append(s);
				if(pagNum == 0){
					if(data == null || data.length ==0){
						$("#proList").html('');
					}
				}
				pagNum ++;
			}else{
				alert("没有该商品！");
				$("#proList").html("");
			}
			
		}
	});
};
//删除购物车商品
var delCartRemote = function(data,nodes){
	if($('.dele').attr('src')=="../../buyer/img/dele.png"){
		confirmUtil("您确定要删除吗？",function(r){
			if(r){
				$.ajax({
					url:server_url+'buyer/product/rest/removeCart.do?ids='+data,
					type:'get',
					ansyc:false,
					data:{ran:Math.random()},
					error:function(){alert(contants.systemError);},
					success:function(msg){
						//console.log(msg);
						for(var i=0;i<nodes.length;i++){
							nodes[i].remove();
						}
						sumAll();
						cartMesg();
					}
				});
			}
		});
	}
}
//购物车去下单页面
var toOrder = function(){
	var products=[];
	$('.choIcon').each(function(){
		if($(this).attr('src') == '../../buyer/img/choIcon.png'){
			var cartId = $(this).parent().attr('cartId');
			var sum = parseInt($($(this).parent().find('div p span')[0]).text());
			//console.log($(this).parent().attr('cartId'));
			cartArr = $.parseJSON(localStorage.getItem("cartList"));
			//console.log(cartArr);
			for(var i=0;i<cartArr.length;i++){
				if(cartId == cartArr[i].id){
					cartArr[i].skuProduct.productSum = sum;
					cartArr[i].skuProduct.cartId = cartArr[i].id;
					products.push(cartArr[i].skuProduct);
				}
				//
			}
		}
	});
	localStorage.setItem('products',JSON.stringify(products));
	//console.log(products);
	if(products.length>0){
		window.location.href=server_url+'buyer/product/addOrder.do';
	}
	
}
var toYjfRegist = function(){
var userId = localStorage.getItem("userid");
	
	$.ajax({
		url:server_url+"rest/buyerOrder/getBuyerInfo.do?userId="+userId,
		type:'get',
		data:{ran:Math.random()},
		error:function(){alert(contants.systemError);},
		success:function(msg){
			var bur = msg.data;
			if(null != bur){
				if(bur.isOpenOnlinPay == '1'){
					alert('您已是在线支付用户！');
				}else{
					localStorage.setItem('goPerson','goPerson');
					window.location.href=server_url+'buyer/product/buyerRegisterPayOnline.do';
				}
				
			}
		}
	});
};

//点击我要卖货
function invCode(){
	$("#code").css("display","block");
};

function guan(){
	$("#code").css("display","none");
}
function checkPrivateKey(){
	var key = $("#privateKey").val();
	if(key.length!=6){
		alert("请输入6位字符或数字");return false;
	}
	if(key.length>key.trim().length){
		alert("输入字符中不可有空格");return false;
	}
	return true;
}
//校验邀请码
function checkKeyRemote(supplyId,key,fn){
	$.ajax({
	        type : "POST",
	        dataType : "json",
	        url :server_url+'rest/buyer/checkPrivateKey.do?ran='+Math.random(),
	        data : {supplyId:supplyId,card:key},
	        success : function(data) {
	        	if(data.retCode == "0000"){
	       		 	fn();
	       	 	}else{
	       	 		alert(data.retMsg);
	       	 	}
	        	$('#privateKey').val('');
	        }
	});
}
//回车
document.onkeydown = function (event){ 
	if (event.keyCode==13) //回车键的键值为13 
		search();
	};

function clickSkuPic(node){
	$(node).parent().prev().click();
}



